/*******************************************************************************
 * Copyright (c) 2005, 2014 springside.github.io
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *******************************************************************************/
package net.wofly.sale.activity.repository;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import net.wofly.sale.activity.domain.ActivityGift;

import java.util.List;

public interface ActivityGiftRepository
		extends PagingAndSortingRepository<ActivityGift, String>, JpaSpecificationExecutor<ActivityGift> {
	
	List<ActivityGift> findByActivityID(String activityID);
	
	void deleteByActivityID(String activityID);

}